package com.lin.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "UserFormDTO", description = "用户表单实体")
@TableName("user")
public class UserFormDTO {
    @ApiModelProperty(value = "用户ID", example = "1")
    private Long id;
    @ApiModelProperty(value = "用户名", example = "lin")
    private String username;
    @ApiModelProperty(value = "密码", example = "0000")
    private String password;
    @ApiModelProperty(value = "手机号", example = "12345678901")
    private String phone;
    @ApiModelProperty(value = "用户信息", example = "this is a user")
    private String info;
    @ApiModelProperty(value = "用户余额", example = "1000")
    private Integer balance;

}
